package com.dfrz.ch09.task;

public class Score {

	private double chinese;
	private double math;
	private double english;
	
	public double getChinese() {
		return chinese;
	}
	public void setChinese(double chinese) {
		this.chinese = chinese;
	}
	public double getMath() {
		return math;
	}
	public void setMath(double math) {
		this.math = math;
	}
	public double getEnglish() {
		return english;
	}
	public void setEnglish(double english) {
		this.english = english;
	}

    @Override
    public String toString() {
        return "Score{" +
                "chinese=" + chinese +
                ", math=" + math +
                ", english=" + english +
                '}';
    }

    public Score() {
    }

    public Score(double chinese, double math, double english) {
        this.chinese = chinese;
        this.math = math;
        this.english = english;
    }
}
